package com.penghaisoft.microwms.base.web.data.service;


import com.penghaisoft.microwms.common.base.model.BaseDictionary;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.page.Pager;

import java.util.List;

/**
 * <p>
 * 业务接口类
 * </p>
 * 
 * @author
 * @createDate
 **/
public interface IBaseDictionaryService {

	public Resp create(BaseDictionary baseDictionary);
	
	public Integer deleteByPrimaryKeys(String dicType);

	public Pager<BaseDictionary> findListByCondition(int page, int rows,
													 BaseDictionary condition);

	public BaseDictionary findById(String id);

	public Resp update(BaseDictionary baseDictionary);

	public List<BaseDictionary> queryAllByCondition(
            BaseDictionary baseDictionary);

	/**
	 * @Title queryDicTypeByCondition
	 * @Description 查询满足条件的字典种类
	 * @author luoteng
	 * @date 2017年6月9日:下午3:35:42
	 * @param baseDictionary
	 * @return
	 */
	public List<BaseDictionary> queryDicTypeByCondition(
            BaseDictionary baseDictionary);
	/**
	 * @Title queryAccttingType
	 * @Description 查询盘点类型
	 * @param baseDictionary
	 * @return
	 */
	public List<BaseDictionary> queryAccttingType(BaseDictionary baseDictionary);
}
